<?php

mysql_connect("localhost","localhost","hostlocal");

mysql_select_db("vircast");

$userid = $_REQUEST['uid'];
$regid = $_REQUEST['regid'];

mysql_query("INSERT INTO user_c2dm (uid,regid) values ('".$userid."','".$regid."')");

mysql_close();
?>

